class CommonUtil

  def self.getusersbyid(id)
  UserConnection.count(:conditions=>["swarm_id= :swarm_id and thetime > :time ",{:swarm_id=>id,:time=>6.minutes.ago} ])
  end
end
